#include "AI.h"

void AI::move(Move* move)
{
  ChessBoard* tmp = position->move(move);
  delete position;
  position = tmp;
}

AI::AI()
{
  position = new ChessBoard();
}

AI::~AI()
{
  delete position;
}
